import logging
import os
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured

def autodiscover():
    import imp
    from django.conf import settings
    
    for app in settings.CONFIGURED_APPS:
        try:
            app_path = __import__(app, {}, {}, [app.split('.')[-1]]).__path__
        except AttributeError:
            continue
        
        try:
            imp.find_module('config_definitions', app_path)
        except ImportError:
            continue
        
        __import__("%s.config_definitions" % app)